class UploadResult {
  int? id;
  String? fileId;
  String? fileName;
  String filePath = "";
  String? type;
  int? businessId;
  String? businessType;
  String? fileSize;
  String? remarks;
  String? createDate;
  String? updateDate;
  String? createBy;
  String? createByName;
  String? updateBy;
  String? updateByName;
  String? url;

  UploadResult(
      {this.id,
        this.fileId,
        this.fileName,
        this.type,
        this.businessId,
        this.businessType,
        this.fileSize,
        this.remarks,
        this.createDate,
        this.updateDate,
        this.createBy,
        this.createByName,
        this.updateBy,
        this.updateByName,
        this.url});

  UploadResult.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    fileId = json['fileId'];
    fileName = json['fileName'];
    type = json['type'];
    businessId = json['businessId'];
    businessType = json['businessType'];
    fileSize = json['fileSize'];
    remarks = json['remarks'];
    createDate = json['createDate'];
    updateDate = json['updateDate'];
    createBy = json['createBy'];
    createByName = json['createByName'];
    updateBy = json['updateBy'];
    updateByName = json['updateByName'];
    url = json['url'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['fileId'] = this.fileId;
    data['fileName'] = this.fileName;
    data['type'] = this.type;
    data['businessId'] = this.businessId;
    data['businessType'] = this.businessType;
    data['fileSize'] = this.fileSize;
    data['remarks'] = this.remarks;
    data['createDate'] = this.createDate;
    data['updateDate'] = this.updateDate;
    data['createBy'] = this.createBy;
    data['createByName'] = this.createByName;
    data['updateBy'] = this.updateBy;
    data['updateByName'] = this.updateByName;
    data['url'] = this.url;
    return data;
  }
}